package com.my.service;

import com.my.mapper.MemberMapper;
import com.my.mapper.OrderMapper;
import com.my.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author zhupanlin
 * @version 1.0
 * @description: TODO
 * @date 2024/6/16 13:49
 */
@Component
public class UserService {
    
    @Autowired
    private UserMapper userMapper;
    
    @Autowired
    private OrderMapper orderMapper;
    
    @Autowired
    private MemberMapper memberMapper;
    
    public void test() {
        System.out.println(userMapper.getUserName());
        System.out.println(orderMapper.getOrderName());
        System.out.println(memberMapper.getMemberName());
    }
    
}
